projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f140d5
)
inspector: Make picking widgets work again
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 24 May 2014 13:54:06 +0000
(09:54 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 24 May 2014 13:55:41 +0000
(09:55 -0400)
This broke when I accidentally removed the line that adds
each object to the hash table. Bring it back.
gtk/inspector/widget-tree.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/widget-tree.c
b/gtk/inspector/widget-tree.c
index 62dc1a0465e161dd60ccde990b1e313d0913061a..8c2ba814d20f4235ba14756a2f063c78b4370567 100644
(file)
--- a/
gtk/inspector/widget-tree.c
+++ b/
gtk/inspector/widget-tree.c
@@
-313,6
+313,8
@@
gtk_inspector_widget_tree_append_object (GtkInspectorWidgetTree *wt,
path = gtk_tree_model_get_path (GTK_TREE_MODEL (wt->priv->model), &iter);
od->row = gtk_tree_row_reference_new (GTK_TREE_MODEL (wt->priv->model), path);
gtk_tree_path_free (path);
+
+ g_hash_table_insert (wt->priv->iters, object, od);
g_object_weak_ref (object, remove_dead_object, od);
g_free (address);